
<%@ page import="taxi.PedidoTaxi" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'pedidoTaxi.label', default: 'PedidoTaxi')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#list-pedidoTaxi" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		
		<br/>
			
			  <button type="button" class="btn btn-link"></button><span class="btn btn-default"><g:link action="search">Buscar</g:link></span>
			
		<div id="list-pedidoTaxi" class="content scaffold-list" role="main">
			<h1><g:message code="default.list.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table>
				<thead>
					<tr>
					
						<g:sortableColumn property="enderecoOrigem" title="${message(code: 'pedidoTaxi.enderecoOrigem.label', default: 'Endereco Origem')}" />
					
						<g:sortableColumn property="enderecoDestino" title="${message(code: 'pedidoTaxi.enderecoDestino.label', default: 'Endereco Destino')}" />
					
						<th><g:message code="pedidoTaxi.cliente.label" default="Cliente" /></th>
					
						<g:sortableColumn property="horas" title="${message(code: 'pedidoTaxi.horas.label', default: 'Horas')}" />
					
						<g:sortableColumn property="minutos" title="${message(code: 'pedidoTaxi.minutos.label', default: 'Minutos')}" />
						
						<th><g:message code="pedidoTaxi.pagamento.label" default="Pagamento" /></th>
					
					
					</tr>
				</thead>
				<tbody>
				<g:each in="${pedidoTaxiInstanceList}" status="i" var="pedidoTaxiInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${pedidoTaxiInstance.id}">${fieldValue(bean: pedidoTaxiInstance, field: "enderecoOrigem")}</g:link></td>
					
						<td>${fieldValue(bean: pedidoTaxiInstance, field: "enderecoDestino")}</td>
					
						<td>${fieldValue(bean: pedidoTaxiInstance, field: "cliente")}</td>
					
						<td>${fieldValue(bean: pedidoTaxiInstance, field: "horas")}</td>
					
						<td>${fieldValue(bean: pedidoTaxiInstance, field: "minutos")}</td>
						
						<td>${fieldValue(bean: pedidoTaxiInstance, field: "pagamento")}</td>
					
						
					</tr>
				</g:each>
				</tbody>
			</table>
			<div class="pagination">
				<g:paginate total="${pedidoTaxiInstanceTotal}" />
			</div>
		</div>
	</body>
</html>
